package com.ruoyi.front.mapper;

import java.util.List;
import com.ruoyi.front.domain.ServiceOrganizationLawyer;

/**
 * 服务组织律师关系Mapper接口
 * 
 * @author ruoyi
 * @date 2020-11-07
 */
public interface ServiceOrganizationLawyerMapper 
{
    /**
     * 查询服务组织律师关系
     * 
     * @param id 服务组织律师关系ID
     * @return 服务组织律师关系
     */
    public ServiceOrganizationLawyer selectServiceOrganizationLawyerById(Long id);

    /**
     * 查询服务组织律师关系列表
     * 
     * @param serviceOrganizationLawyer 服务组织律师关系
     * @return 服务组织律师关系集合
     */
    public List<ServiceOrganizationLawyer> selectServiceOrganizationLawyerList(ServiceOrganizationLawyer serviceOrganizationLawyer);

    /**
     * 新增服务组织律师关系
     * 
     * @param serviceOrganizationLawyer 服务组织律师关系
     * @return 结果
     */
    public int insertServiceOrganizationLawyer(ServiceOrganizationLawyer serviceOrganizationLawyer);

    /**
     * 修改服务组织律师关系
     * 
     * @param serviceOrganizationLawyer 服务组织律师关系
     * @return 结果
     */
    public int updateServiceOrganizationLawyer(ServiceOrganizationLawyer serviceOrganizationLawyer);

    /**
     * 删除服务组织律师关系
     * 
     * @param id 服务组织律师关系ID
     * @return 结果
     */
    public int deleteServiceOrganizationLawyerById(Long id);

    /**
     * 批量删除服务组织律师关系
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteServiceOrganizationLawyerByIds(String[] ids);
}
